<?php if(isset($_GET['deco']))
		{
			if($_GET['deco'] == 1)
			{
				session_destroy(); 
				header('Location:index.php');
			}
		}
		?>

			<?php include("includes/choixLangage.php");?>
			<p>			   
						
				<?php
					if(isset($_SESSION['pseudo']))
					{
						if(isset($_GET['lang']))
						{
							if($_GET['lang'] == 'eng')
							{
							?>
								<a href="zzchat.php?lang=eng"> Home Zzchat </a>
								<a href="includes/logout.php?lang=eng">logout</a>
							<?php
							}
							else
							{
							?>
								<a href="zzchat.php"> Accueil Zzchat </a>
								<a href="includes/logout.php">Déconnexion</a>
							<?php
							}
						}
						else
						{
						?>
							<a href="zzchat.php"> Accueil Zzchat </a>
							<a href="includes/logout.php">Déconnexion</a>
						<?php
						}
					}
					else
					{
						if(isset($_GET['lang']))
						{
							if($_GET['lang'] == 'eng')
							{
							?>
								<a href="index.php?lang=eng"> Home Zzchat </a>
							<?php
							}
							else
							{
							?>
								<a href="index.php"> Accueil Zzchat </a>
							<?php
							}
						}
						else
						{
						?>
							<a href="index.php"> Accueil Zzchat </a>
						<?php
						}
					}
					?>
			</p>

